import 'package:tencent_cloud_chat_uikit/czm_method/model/textfield_auth_result.dart';
import 'package:tencent_cloud_chat_uikit/tencent_cloud_chat_uikit.dart';

/// 联系人列表初始化回调
typedef ContactListInitStateCallBack = Function(List<V2TimFriendInfo>);

/// 输入框鉴权回调
typedef TextFieldAuth = Future<TextFieldAuthResult> Function({required String userID});

/// IM白名单用户鉴权回调
/// 目前仅检测当前用户是否在白名单中
typedef IMWhiteListAuth = bool Function();

/// 群主管理员撤回群成员消息
typedef GroupOwnerAdminRevokeMessage = Future<bool> Function({
  required String groupId,
  required Iterable<String> msgIds,
});
